public class Proic {
    public static class Single {
        private static final Single Single = new Single();
        private Single() {
            System.out.println("Constructor Single Instance");
        }
    }
    public static Single getSingle() {
        return InstanceFactory.Single.Single;
    }
}
    var task = new Ext.util.DelayedTask(function(){
        //这里放置要延迟加载的代码段
        getActNameChanged();
        //alert("延迟加载");
    });
//调用延迟加载对象的delay方法执行  参数为毫秒 本示例延迟0.1秒执行
        task.delay(100);